[INFO] cloning repository https://github.com/haze/kpp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haze/kpp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fkpp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fkpp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68d2af2801f5368ab5bafad20a1252d1a5ab611e
[INFO] testing haze/kpp against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fkpp" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/haze/kpp on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/haze/kpp
[INFO] finished tweaking git repo https://github.com/haze/kpp
[INFO] tweaked toml for git repo https://github.com/haze/kpp written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/haze/kpp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/haze/serenity`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/haze/serenity`
[INFO] [stderr]     Updating git repository `https://github.com/http-rs/surf`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31ac2cf38cacd93138cce2093c85d8bd55f33b06cb98cb9252e5fabc8b17d7a3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "31ac2cf38cacd93138cce2093c85d8bd55f33b06cb98cb9252e5fabc8b17d7a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31ac2cf38cacd93138cce2093c85d8bd55f33b06cb98cb9252e5fabc8b17d7a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31ac2cf38cacd93138cce2093c85d8bd55f33b06cb98cb9252e5fabc8b17d7a3", kill_on_drop: false }`
[INFO] [stdout] 31ac2cf38cacd93138cce2093c85d8bd55f33b06cb98cb9252e5fabc8b17d7a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec53ea6a43aff18f8ecd907281a90dd0d66897dcdae2cba65933f0eb9a4cbb85
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ec53ea6a43aff18f8ecd907281a90dd0d66897dcdae2cba65933f0eb9a4cbb85", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling futures-io v0.3.14
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-sink v0.3.14
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling fastrand v1.4.1
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling openssl v0.10.34
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling const_fn v0.4.7
[INFO] [stderr]    Compiling cpuid-bool v0.2.0
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling cpufeatures v0.1.0
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]    Compiling curl v0.4.36
[INFO] [stderr]    Compiling pin-project-internal v0.4.28
[INFO] [stderr]    Compiling isahc v0.9.14
[INFO] [stderr]    Compiling data-encoding v2.3.2
[INFO] [stderr]    Compiling http-types v2.11.1
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling serenity v0.8.6 (https://github.com/haze/serenity?branch=await#a2e8cded)
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling dtoa v0.4.8
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling openssl-sys v0.9.62
[INFO] [stderr]    Compiling libnghttp2-sys v0.1.6+1.43.0
[INFO] [stderr]    Compiling libz-sys v1.1.3
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]    Compiling crossbeam-utils v0.8.4
[INFO] [stderr]    Compiling curl-sys v0.4.42+curl-7.76.0
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling time v0.2.26
[INFO] [stderr]    Compiling cookie v0.14.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling async-lock v2.4.0
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling lock_api v0.4.4
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling sluice v0.5.4
[INFO] [stderr]    Compiling spinning_top v0.2.3
[INFO] [stderr]    Compiling flume v0.9.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling socket2 v0.3.19
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling dashmap v4.0.2
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling generic-array v0.12.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling regex v1.5.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling async-executor v1.4.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling sha-1 v0.8.2
[INFO] [stderr]    Compiling polyval v0.4.5
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling sha2 v0.9.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling hkdf v0.10.0
[INFO] [stderr]    Compiling ghash v0.3.1
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling aes-gcm v0.8.0
[INFO] [stderr]    Compiling ctor v0.1.20
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling futures-macro v0.3.14
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.6
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling polling v2.0.3
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling async-io v1.4.1
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling pretty_env_logger v0.4.0
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling async-global-executor v2.0.2
[INFO] [stderr]    Compiling tokio v0.2.25
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling async-std v1.9.0
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling pin-project v0.4.28
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling futures-executor v0.3.14
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling futures v0.3.14
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling combine v4.5.2
[INFO] [stderr]    Compiling h2 v0.2.7
[INFO] [stderr]    Compiling url v2.2.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling serde_qs v0.7.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling tungstenite v0.10.1
[INFO] [stderr]    Compiling async-tungstenite v0.4.2
[INFO] [stderr]    Compiling http-client v6.3.5
[INFO] [stderr]    Compiling surf v2.2.0 (https://github.com/http-rs/surf#5462b3f4)
[INFO] [stderr]    Compiling hyper v0.13.10
[INFO] [stderr]    Compiling redis v0.16.0
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling reqwest v0.10.10
[INFO] [stderr]    Compiling kpp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RawEventHandler`
[INFO] [stdout]  --> src/main.rs:3:46
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serenity::prelude::{EventHandler, Mutex, RawEventHandler, RwLock, TypeMap};
[INFO] [stdout]   |                                              ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_header` found for struct `surf::RequestBuilder` in the current scope
[INFO] [stdout]    --> src/main.rs:136:10
[INFO] [stdout]     |
[INFO] [stdout] 136 | ...   .set_header("User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.2 Sa...
[INFO] [stdout]     |        ^^^^^^^^^^ method not found in `surf::RequestBuilder`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot construct `CacheAndHttp` with struct literal syntax due to inaccessible fields
[INFO] [stdout]   --> src/main.rs:75:35
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let cache_and_http = Arc::new(serenity::CacheAndHttp {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kpp`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "ec53ea6a43aff18f8ecd907281a90dd0d66897dcdae2cba65933f0eb9a4cbb85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec53ea6a43aff18f8ecd907281a90dd0d66897dcdae2cba65933f0eb9a4cbb85", kill_on_drop: false }`
[INFO] [stdout] ec53ea6a43aff18f8ecd907281a90dd0d66897dcdae2cba65933f0eb9a4cbb85
